package com.shop.cereshop.commons.domain.recommend;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 用户屏蔽表
 * @TableName cere_user_block
 */
@Data
@ApiModel(value = "cere_user_block", description = "用户屏蔽实体类")
@TableName("cere_user_block")
@Accessors(chain = true)
public class CereUserBlock {
    /**
     * 屏蔽id
     */
    @ApiModelProperty(value = "屏蔽id")
    @TableId(value = "block_id", type = IdType.AUTO)
    private Long blockId;

    /**
     * 屏蔽者id
     */
    @ApiModelProperty(value = "屏蔽者id")
    private Long blockUserId;

    /**
     * 屏蔽类型 1-用户 2-动态 3-评论
     */
    @ApiModelProperty(value = "屏蔽类型 1-用户 2-动态 3-评论")
    private Integer blockType;

    /**
     * 被屏蔽的id
     */
    @ApiModelProperty(value = "被屏蔽的id")
    private Long blockTargetId;

    /*
    * 创建时间
    * */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /*
    * 更新时间
    * */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}